import request from "./http";

// 获取url
export function getData(params){
    return request({
        url:"book/getsub.json",
        method:"get",
        params
    })
}
export function getImg(params){
    return request({
        url:"book/info.json",
        method:"get",
        params
    })
}
export function getNewItem(params){
    return request({
        url:"book/simpleInfo.json",
        method:"get",
        params
    })
}
export function getBookList(params){
    return request({
        url:"reader/book/info.json",
        method:"get",
        params
    })
}
export function getComments(params){
    return request({
        url:"comment/getComments.json",
        method:"get",
        params
    })
}